package p10.p1006;

public class TeacherTest  {
    public static void main(String[] args) {
        LoveDemo loveDemo = new LoveDemo();
        Teacher teacher = new Teacher();

        loveDemo.method(new Teacher());

        loveDemo.method(teacher);

        Love love = new Teacher();
        loveDemo.method(love);
    }
}
